package com.trivera.adhoc;

public interface Payable {

	/**
	 * Calculates the net pay amount for this payable object.
	 * This object will calculate any withholding required to 
	 * be taken from the gross amount and returns the net pay.
	 * @param amount - gross amount owed
	 * @return - net amount to pay after taxes, discounts coupons or 
	 * other deductions.
	 */
	public abstract float pay(float amount);

	public abstract String getName();

}